package com.ruoyi.sbgl.sbwxjl.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备维修记录对象 sbgl_sbwxjl
 *
 * @author huacai
 * @date 2024-09-26
 */
public class Sbwxjl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备维修记录 */
    private String sbwxjlId;

    /** 维修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wxTime;

    /** 维修价格(元) */
    @Excel(name = "维修价格(元)")
    private BigDecimal wxJg;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String sbxxglId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String sbName;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    private String ccBh;

    /** 自编号 */
    @Excel(name = "自编号")
    private String zbh;

    /** 固定资产编号 */
    @Excel(name = "固定资产编号")
    private String gdZcBh;

    /** 维修原因 */
    @Excel(name = "维修原因")
    private String wxYy;

    /** 用户ID */
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    /** ID是否存在 */
    private String idWhere;

    /** 设备维修记录附件信息 */
    private List<SbwxjlFj> sbwxjlFjList;

    public void setSbwxjlId(String sbwxjlId)
    {
        this.sbwxjlId = sbwxjlId;
    }

    public String getSbwxjlId()
    {
        return sbwxjlId;
    }
    public void setWxTime(Date wxTime)
    {
        this.wxTime = wxTime;
    }

    public Date getWxTime()
    {
        return wxTime;
    }
    public void setWxJg(BigDecimal wxJg)
    {
        this.wxJg = wxJg;
    }

    public BigDecimal getWxJg()
    {
        return wxJg;
    }
    public void setSbxxglId(String sbxxglId)
    {
        this.sbxxglId = sbxxglId;
    }

    public String getSbxxglId()
    {
        return sbxxglId;
    }
    public void setSbName(String sbName)
    {
        this.sbName = sbName;
    }

    public String getSbName()
    {
        return sbName;
    }
    public void setCcBh(String ccBh)
    {
        this.ccBh = ccBh;
    }

    public String getCcBh()
    {
        return ccBh;
    }
    public void setZbh(String zbh)
    {
        this.zbh = zbh;
    }

    public String getZbh()
    {
        return zbh;
    }
    public void setGdZcBh(String gdZcBh)
    {
        this.gdZcBh = gdZcBh;
    }

    public String getGdZcBh()
    {
        return gdZcBh;
    }
    public void setWxYy(String wxYy)
    {
        this.wxYy = wxYy;
    }

    public String getWxYy()
    {
        return wxYy;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setDeptId(Integer deptId)
    {
        this.deptId = deptId;
    }

    public Integer getDeptId()
    {
        return deptId;
    }

    public String getIdWhere() {
        return idWhere;
    }

    public void setIdWhere(String idWhere) {
        this.idWhere = idWhere;
    }

    public List<SbwxjlFj> getSbwxjlFjList()
    {
        return sbwxjlFjList;
    }

    public void setSbwxjlFjList(List<SbwxjlFj> sbwxjlFjList)
    {
        this.sbwxjlFjList = sbwxjlFjList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sbwxjlId", getSbwxjlId())
            .append("wxTime", getWxTime())
            .append("wxJg", getWxJg())
            .append("sbxxglId", getSbxxglId())
            .append("sbName", getSbName())
            .append("ccBh", getCcBh())
            .append("zbh", getZbh())
            .append("gdZcBh", getGdZcBh())
            .append("wxYy", getWxYy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("idWhere", getIdWhere())
            .append("sbwxjlFjList", getSbwxjlFjList())
            .toString();
    }
}
